package com.djz.stuinfomge.entity;

/**
 * Achievement entity. @author MyEclipse Persistence Tools
 */

public class Achievement implements java.io.Serializable {

	
	

	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public Course getCourse() {
		return course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	private Integer id;
	private String stuNum;
	private Student student;
	private Course course;
	//private int studentId;
	//private Integer courseId;
	private Short term;
	private Short mark;

	// Constructors

	/** default constructor */
	public Achievement() {
	}

	/** minimal constructor */
	public Achievement(Integer id) {
		this.id = id;
	}

	
	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getStuNum() {
		return this.stuNum;
	}

	public void setStuNum(String stuNum) {
		this.stuNum = stuNum;
	}

	
	
	public Short getTerm() {
		return this.term;
	}

	public void setTerm(Short term) {
		this.term = term;
	}

	public Short getMark() {
		return this.mark;
	}

	public void setMark(Short mark) {
		this.mark = mark;
	}

}
